package com.jiufen.Service;

import com.jiufen.Pojo.PageResult;
import com.jiufen.Pojo.Student;
import com.jiufen.Pojo.StudentQueryParam;

public interface StudentService {


    /**
     * 根据条件分页查询学生信息
     * @param studentQueryParam
     * @return
     */
    public PageResult<Student> getStudentList(StudentQueryParam studentQueryParam);

    void saveStudent(Student student);

    Student getStudentById(Integer id);

    void updateStudent(Student student);

    Integer deleteStudent(Integer[] ids);

    void updateStudentViolation(Integer id, Integer score);
}
